package cn.sky.demo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author sky
 * @date 2025年10月23日 16:27
 * @description
 * @since 1.0.0
 */
@Getter
public enum GenderEnum{
    MALE(1,"男"),
    FEMALE(0,"女");
    @EnumValue
    private Integer code;
    private String name;
    GenderEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

}
